package com.example.learn.pojo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author mfy
 */

@AllArgsConstructor
@NoArgsConstructor
@Data
public class Product {

    private int id;
    @JsonProperty(value = "productName")
    private String productName;
    @JsonProperty(value = "orderNo")
    private String orderNo;
    private String description;
    private String inventory;

}
